<?php echo $this->Html->link('Agregar Estado', array('controller' => 'States', 'action' => 'add')); ?>

<table class="table table-striped">
    <tr>
        <th>Orden</th>
        <th>Nombre</th>
    </tr>


    <?php foreach ($states as $condition): ?>
    <tr>
        <td><?php echo $condition['State']['orden']; ?></td>
        <td>
            <?php echo $this->Html->link($condition['State']['nombre'],
array('controller' => 'States', 'action' => 'view', $condition['State']['id'])); ?>
        </td>
		<td>
            <?php echo $this->Html->link('Edit', array('action' => 'edit', $condition['State']['id'])); ?>
        </td>

    </tr>
    <?php endforeach; ?>
    <?php unset($situacion); ?>
</table>